<%@ page pageEncoding="UTF-8"%>
<%@ include file="/common/token.jsp"%>
<%
	// 添加头像
	Integer id = token.getUid();
	String avatar = input.getDesc("avatar", "");
	QBuilder.db("basedb").execHQL("update User set avatar='" + avatar + "' where id=" + id);
	Tools.encryptPrint(out, msg);
%>
